package com.example.ormsqlsplicingframe1.session;

import com.example.ormsqlsplicingframe1.sql.Sql;
import com.example.ormsqlsplicingframe1.sql.impl.InsertImpl;

import java.util.ArrayList;
import java.util.List;

public class NodeSql {

    private InsertImpl insert;
    private List<Object> list;

    public NodeSql() {
        this.list = new ArrayList<>();
    }

    public void setList(Object list) {
        this.list.add(list);
    }

    public InsertImpl getInsert() {
        return insert;
    }

    public void setInsert(InsertImpl insert) {
        this.insert = insert;
    }

    public List<Object> getList() {
        return list;
    }
}
